<?php

namespace app\api\controller;

use app\common\controller\Api;
use EasyWeChat\Factory;

/**
 * 首页接口
 */
class Weixin extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    /**
     * 登录
     *
     */
    public function login()
    {
        $this->success('请求成功');
    }
	/**
	 * 下单
	 *
	 */
	public function createOrder()
	{
	    $this->success('请求成功');
	}
	/**
	 * 获取订单
	 *
	 */
	public function getOrder()
	{
	    $this->success('请求成功');
	}
	/**
	 * 加购、减购
	 *
	 */
	public function cart()
	{
	    $this->success('请求成功');
	}
	/**
	 * 加地址、减地址
	 *
	 */
	public function address()
	{
	    $this->success('请求成功');
	}
	/**
	 * 获取直播间列表
	 *
	 */
	public function getLiveRoom()
	{
	    $this->success('请求成功');
	}
	/**
	 * 小程序支付回调
	 *
	 */
	public function notify()
	{
	    $this->success('请求成功');
	}
}
